package cn.com.wangluotongxin.chat.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 聊天服务-发送消息内容
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("sys_chat_message")
@ApiModel(value = "SysChatMessage对象", description = "聊天服务-发送消息内容")
public class SysChatMessage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("消息类型：1.文本 2.图片 3.语音 4.视频")
    private Integer textType;

    @ApiModelProperty("文本消息内容")
    private String textContent;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
